package com.dacd.soundanalysis.soundhelper

import android.media.AudioFormat
import android.media.MediaRecorder

/**
 * 有关音频会用到的常量
 */
class SoundConstants {

    companion object {
        const val SAMPLE_RATE = 44100//采样率
        const val VOLUME_LIMIT = 1000//声音采集分贝
        const val SOUND_START_FRE_COMPARE = 50//起始声音的频率误差
        const val SOUND_FRE_COMPARE = 30//声音频率的误差
        const val SOUND_POSITION = 100//声音在位置上的误差，单位毫秒
    }

}